package com.kymatrix.mpo.plus.bpm.server.model.form.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel(value = "管理后台 - 流程模型更新状态 Request")
@Data
@Accessors(chain=true)
public class UpdateBpmModelStateReq {

    @ApiModelProperty(value = "id", example = "1024")
    @NotNull(message = "id不能为空")
    private String id;

    @ApiModelProperty(value = "状态 SuspensionState", example = "1")
    @NotNull(message = "状态不能为空")
    private String state; // 参见 Flowable SuspensionState 枚举

}
